package com.util;

import java.util.ResourceBundle;

/**
 * @author AbnerG
 * @version 1.0
 * @date 2019/11/15 14:56
 */
public class ResourceUtil {
    private static final ResourceBundle resourceBundle;

    static{
        resourceBundle = ResourceBundle.getBundle("UserInfo");
    }

    public static String getKey(String key){
        return resourceBundle.getString(key);
    }
}
